﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Acms.Bll;

public partial class Templates_Section_Default : Acms.AcmsControls.TemplatePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }

    protected void dsChildren_Select(object sender, Acms.DataControls.EventDrivenDataSourceSelectEventArgs e)
    {
        if (AcmsContext.CurrentPost != null)
        {
            e.SetData(AcmsContext.CurrentPost.Children);
        }
        else
        {
            e.SetData(DummyPost.CreateDummyList(4));
        }

    }
}
